package com.wu.serviceimp;

import com.wu.bean.UserBean;
import com.wu.dao.UserDao;
import com.wu.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName UserServiceImp
 * @Author wuxuan
 * @Date 2019/3/2 17:15
 * @Version 1.0
 * @Description
 **/
@Service("userService")
public class UserServiceImp implements UserService {

    @Autowired
    UserDao userDao;

    @Override
    public List<UserBean> login(String UserID, String UserKey) {
        return userDao.login(UserID, UserKey);
    }

    @Override
    public int regin(String UserID, String UserKey, String UserName,String UserRtime) {
        return userDao.regin(UserID,UserKey,UserName,UserRtime);
    }

}
